Concurrent Multi-Loudspeaker Calibration

ABSTRACT

Examples involve calibration of two synchronous playback groups. In an example implementation, a first playback device forms a first group with a second playback device. While formed into the first group, the first playback device plays back a first calibration sound contemporaneously with the second playback device. The first playback device forms a second group with a third playback device. While formed into the second group, the first playback device repeatedly plays back a second calibration sound contemporaneously with the third playback device. The first playback device receives data representing (i) first audio processing coefficients and (ii) second audio processing coefficients. The first playback devices applies the first audio processing coefficients to playback of audio content when formed into the first group and the second audio processing coefficients to playback of audio content when formed into the second group.

CROSS REFERENCE TO RELATED APPLICATIONS

This application claims priority under 35 U.S.C. § 120 to, and is a continuation of, U.S. non-provisional patent application Ser. No. 15/909,529, filed on Mar. 1, 2018, entitled “Concurrent Multi-Loudspeaker Calibration,” which is incorporated herein by reference in its entirety.

U.S. non-provisional patent application Ser. No. 15/909,529 claims priority under 35 U.S.C. § 120 to, and is a continuation of, U.S. non-provisional patent application Ser. No. 15/478,770, filed on Apr. 4, 2017, entitled “Concurrent Multi-Loudspeaker Calibration with a Single Measurement,” and issued as U.S. Pat. No. 9,913,057 on Mar. 6, 2018, which is incorporated herein by reference in its entirety.

U.S. non-provisional patent application Ser. No. 15/478,770 claims priority under 35 U.S.C. § 120 to, and is a continuation of, U.S. non-provisional patent application Ser. No. 14/805,340, filed on Jul. 21, 2015, entitled “Concurrent Multi-Loudspeaker Calibration with a Single Measurement,” and issued as U.S. Pat. No. 9,648,422 on May 9, 2017, which is also incorporated herein by reference in its entirety.

This application is related to U.S. patent application Ser. No. 13/536,493 filed Jun. 28, 2012, entitled “System and Method for Device Playback Calibration,” and U.S. patent application Ser. No. 14/805,140 filed Jul. 21, 2015, entitled “Hybrid Test Tone for Space Averaged Room Audio Calibration Using A Moving Microphone,” which are both incorporated herein in their entirety.

FIELD OF THE DISCLOSURE

The disclosure is related to consumer goods and, more particularly, to methods, systems, products, features, services, and other elements directed to media playback or some aspect thereof.

BACKGROUND

Options for accessing and listening to digital audio in an out-loud setting were limited until in 2003, when SONOS, Inc. filed for one of its first patent applications, entitled “Method for Synchronizing Audio Playback between Multiple Networked Devices,” and began offering a media playback system for sale in 2005. The Sonos Wireless HiFi System enables people to experience music from many sources via one or more networked playback devices. Through a software control application installed on a smartphone, tablet, or computer, one can play what he or she wants in any room that has a networked playback device. Additionally, using the controller, for example, different songs can be streamed to each room with a playback device, rooms can be grouped together for synchronous playback, or the same song can be heard in all rooms synchronously.

Given the ever growing interest in digital media, there continues to be a need to develop consumer-accessible technologies to further enhance the listening experience.

BRIEF DESCRIPTION OF THE DRAWINGS

Features, aspects, and advantages of the presently disclosed technology may be better understood with regard to the following description, appended claims, and accompanying drawings where:

FIG. 1 shows an example media playback system configuration in which certain embodiments may be practiced;

FIG. 2 shows a functional block diagram of an example playback device;

FIG. 3 shows a functional block diagram of an example control device;

FIG. 4 shows an example controller interface;

FIG. 5 shows an example flow diagram to facilitate the calibration of a playback device by causing the playback device to emit a calibration sound;

FIG. 6 shows a smartphone that is displaying an example control interface, according to an example implementation;

FIG. 7 illustrates an example movement through an example environment in which an example media playback system is positioned;

FIG. 8 illustrates an example chirp that increases in frequency over time;

FIG. 9 shows an example brown noise spectrum;

FIGS. 10A and 10B illustrate transition frequency ranges of example hybrid calibration sounds;

FIG. 11 shows a frame illustrating an iteration of an example periodic calibration sound;

FIG. 12 shows a series of frames illustrating iterations of an example periodic calibration sound;

FIG. 13 illustrates an example technique to analyze a detected calibration sound;

FIG. 14 shows an example flow diagram to facilitate the calibration of multiple playback devices by causing the playback devices to emit a sequence of calibration sounds;

FIG. 15 illustrates example calibration sounds as might be emitted by respective playback channels; and

FIG. 16 shows an example flow diagram to emit a calibration sound.

The drawings are for the purpose of illustrating example embodiments, but it is understood that the inventions are not limited to the arrangements and instrumentality shown in the drawings.

DETAILED DESCRIPTION I. Overview

Embodiments described herein involve, inter alia, techniques to facilitate calibration of a media playback system. Some calibration procedures contemplated herein involve a control device of the media playback system detecting and analyzing sound waves (e.g., one or more calibration sounds) which were emitted by one or more playback devices of the media playback system. In some examples, such a control device may instruct the one or more playback devices to emit a particular calibration sound that facilitates analysis and calibration.

As indicated above, example calibration procedures may involve a playback device emitting a calibration sound, which is detected and analyzed by a control device. In some embodiments, the control device may analyze the calibration sound over a range of frequencies over which the playback device is to be calibrated (i.e., a calibration range). Accordingly, the particular calibration sound that is emitted by a playback device covers the calibration frequency range. The calibration frequency range may include a range of frequencies that the playback device is capable of emitting (e.g., 15-30,000 Hz) and may be inclusive of frequencies that are considered to be in the range of human hearing (e.g., 20-20,000 Hz). By emitting and subsequently detecting a calibration sound covering such a range of frequencies, a frequency response that is inclusive of that range may be determined for the playback device. Such a frequency response may be representative of the environment in which the playback device emitted the calibration sound.

Acoustics of an environment may vary from location to location within the environment. Because of this variation, some calibration procedures may be improved by positioning the playback device to be calibrated within the environment as the playback device will later be operated. In that position, the environment may affect the calibration sound emitted by a playback device in a similar manner as playback will be affected by the environment during operation. A set-up phase of a calibration procedure may involve positioning the playback device in this position.

Some example calibration procedures may involve detecting the calibration sound at multiple physical locations within the environment, which may assist in capturing acoustic variability within the environment. To facilitate detecting the calibration sound at multiple points within an environment, some calibration procedures involve a moving microphone. For example, the microphone that is detecting the calibration sound may be continuously moved through the environment while the calibration sound is emitted. Such continuous movement may facilitate detecting the calibration sounds at multiple physical locations within the environment, which may provide a better understanding of the environment as a whole.

In some embodiments, a playback device may repeatedly emit the calibration sound during the calibration procedure such that the calibration sound covers the calibration frequency range during each repetition. With a moving microphone, repetitions of the calibration sound are continuously detected at different physical locations within the environment. For instance, the playback device might emit a periodic calibration sound. Each period of the calibration sound may be detected by the control device at a different physical location within the environment thereby providing a sample at that location. Such a calibration sound may therefore facilitate a space-averaged calibration of the environment.

Example calibration sounds may cover the calibration frequency range using various waveforms. Some example calibration procedures may implement noise (e.g., pseudorandom periodic noise) that varies over the calibration frequency range during each period. However, phase distortion caused by the microphone's movement may make correlating a detected noise signal to the emitted noise signal difficult or impossible. Other example calibration procedures may implement a swept signal (e.g., a swept-sine or chirp) that ascends or descends through the frequency range in a pre-determined pattern. A swept signal facilitates correlating the detected signal to the emitted signal, as the phase shift is predictable (as Doppler shift). However, at lower frequencies, a swept signal may overload the speaker drivers in an attempt to ensure sufficient energy to overcome background noise typically present in a given environment.

Some example calibration procedures described herein may implement a hybrid calibration sound that includes both noise and a swept signal, which may counter some of these issues. For instance, a hybrid calibration sound may include a noise component that covers low frequencies up to a first threshold (e.g., a threshold in the range of 50-100 Hz). Such a noise component may be emitted by a playback device with sufficient energy to overcome typical background noise (e.g., that of a quiet room) with a lower risk of overloading the speaker driver(s) of that playback device. The hybrid calibration sound may also include a swept signal (e.g., a swept-sine) that ascends or descends from a second threshold up to the highest frequencies of the calibration range (or above). A predictable signal, like a swept signal, facilitates the control device reversing phase distortion resulting from the microphone motion.

Since portions of the calibration frequency range may be audible to humans, some aspects of the calibration sound may be designed to make the calibration sound more pleasant to a human listener. For instance, some implementations of a hybrid calibration sound may include a transition frequency range in which the noise component and the swept component overlap. Overlapping these components may avoid possibly unpleasant sounds that are associated with a harsh transition between the two types of sounds. As another technique to make the calibration sound more pleasant, the swept portion of the calibration sound may descend (rather than ascend) through the calibration range. While either an ascending or descending swept sine may be effective for calibration, a descending signal may be more pleasant to hear because of the particular shape of the human ear canal.

In some circumstances, multiple playback devices may be calibrated during a calibration procedure. For instance, an example calibration procedure may calibrate a grouping of playback devices. Such a grouping might be a zone of a media playback system that includes multiple playback devices, or, perhaps a grouping might be formed from multiple zones of a media playback system that are grouped into a zone group that includes a respective playback device from each zone. Such groupings might be physically located within the same environment (e.g., a room of a house or other building).

In some embodiments, certain portions of the calibration procedure may be performed concurrently. For instance, multiple playback devices may emit a calibration sound concurrently. However, when two playback devices emit the same portion of the calibration sound concurrently, the concurrently emitted calibration sounds may interfere with one another, which may prevent the control device from obtaining a measurement of sufficient quality. Further, the control device might not be able to correlate a particular calibration tone to the playback device that emitted that tone because the same frequency tones are indistinguishable.

With example implementations, the calibration sounds may be tailored in an attempt to avoid such interference. For instance, a baseline calibration sound that covers the calibration frequency range (i.e., a calibration sound used to calibrate a single playback device) may be lengthened such that its duration is proportional to the number of channels to be calibrated. For instance, the calibration sound emitted during the calibration of three channels may be equal in duration to three multiples of the duration of the baseline calibration sound. Such stretching may provide sufficient time in each repetition for the channels to emit a respective calibration sound that covers the calibration frequency range without overlapping frequencies.

Further, the channels that are emitting the calibration sound may be offset (i.e., delayed) relative to one another so as to stagger the calibration sounds. Staggering the calibration sounds may prevent the channels from outputting the same portion of the calibration sound at the same time. As noted above, by emitting calibration sounds with overlapping frequencies, two playback devices can interfere with the control device detecting respective calibration sounds from each device.

Example techniques may involve emitting a hybrid calibration sound. In one aspect, a method is provided. The method may involve receiving, via a network interface, a command that instructs the playback device to emit a calibration sound and responsively causing the one or more speakers to emit a periodic calibration sound that covers a calibration frequency range, where the periodic calibration sound comprises (i) a first component that includes noise at frequencies between a minimum of the calibration frequency range and a first threshold frequency, and (ii) a second component that sweeps through frequencies between a second threshold frequency and a maximum of the calibration frequency range.

In another aspect, a device is provided. The device includes a network interface, at least one processor, a data storage, and program logic stored in the data storage and executable by the at least one processor to perform operations. The operations may include receiving, via the network interface, a command that instructs the playback device to emit a calibration sound and responsively causing the one or more speakers to emit a periodic calibration sound that covers a calibration frequency range, where the periodic calibration sound comprises (i) a first component that includes noise at frequencies between a minimum of the calibration frequency range and a first threshold frequency, and (ii) a second component that sweeps through frequencies between a second threshold frequency and a maximum of the calibration frequency range.

In yet another aspect, a non-transitory computer readable memory is provided. The non-transitory computer readable memory has stored thereon instructions executable by a computing device to cause the computing device to perform operations. The operations may include receiving, via the network interface, a command that instructs the playback device to emit a calibration sound and responsively causing the one or more speakers to emit a periodic calibration sound that covers a calibration frequency range, where the periodic calibration sound comprises (i) a first component that includes noise at frequencies between a minimum of the calibration frequency range and a first threshold frequency, and (ii) a second component that sweeps through frequencies between a second threshold frequency and a maximum of the calibration frequency range.

Further example techniques may involve multiple playback devices emitting a calibration sound. In one aspect, a method is provided. The method may involve detecting a trigger condition that initiates calibration of a plurality of playback devices. The method may also involve sending, to a first playback device of the plurality, a command that instructs the first playback device to repeatedly emit a calibration sound according to a sequence, where the calibration sound cycles through frequencies of a calibration frequency range, and where a duration of the calibration sound is proportional to the given number of playback devices in the plurality. The method may further involve sending, to one or more additional playback devices of the plurality, respective commands that instruct the one or more additional playback devices to repeatedly emit the respective calibration sound according to the sequence, where the commands instruct the one or more additional playback devices to stagger emission of the calibration sounds such that each emitted calibration sound is delayed relative to a preceding calibration sound in the sequence. The method may also involve detecting, via a microphone, the emitted calibration sounds.

In another aspect, a device is provided. The device includes a network interface, at least one processor, a data storage, and program logic stored in the data storage and executable by the at least one processor to perform operations. The operations may include detecting a trigger condition that initiates calibration of a plurality of playback devices. The operations may also include sending, to a first playback device of the plurality, a command that instructs the first playback device to repeatedly emit a calibration sound according to a sequence, where the calibration sound cycles through frequencies of a calibration frequency range, and where a duration of the calibration sound is proportional to the given number of playback devices in the plurality. The operations may further include sending, to one or more additional playback devices of the plurality, respective commands that instruct the one or more additional playback devices to repeatedly emit the respective calibration sound according to the sequence, where the commands instruct the one or more additional playback devices to stagger emission of the calibration sounds such that each emitted calibration sound is delayed relative to a preceding calibration sound in the sequence. The operations may also include detecting, via a microphone, the emitted calibration sounds.

In yet another aspect, a non-transitory computer readable memory is provided. The non-transitory computer readable memory has stored thereon instructions executable by a computing device to cause the computing device to perform operations. The operations may include detecting a trigger condition that initiates calibration of a plurality of playback devices. The operations may also include sending, to a first playback device of the plurality, a command that instructs the first playback device to repeatedly emit a calibration sound according to a sequence, where the calibration sound cycles through frequencies of a calibration frequency range, and where a duration of the calibration sound is proportional to the given number of playback devices in the plurality. The operations may further include sending, to one or more additional playback devices of the plurality, respective commands that instruct the one or more additional playback devices to repeatedly emit the respective calibration sound according to the sequence, where the commands instruct the one or more additional playback devices to stagger emission of the calibration sounds such that each emitted calibration sound is delayed relative to a preceding calibration sound in the sequence. The operations may also include detecting, via a microphone, the emitted calibration sounds.

It will be understood by one of ordinary skill in the art that this disclosure includes numerous other embodiments. It will be understood by one of ordinary skill in the art that this disclosure includes numerous other embodiments. While some examples described herein may refer to functions performed by given actors such as “users” and/or other entities, it should be understood that this description is for purposes of explanation only. The claims should not be interpreted to require action by any such example actor unless explicitly required by the language of the claims themselves.

II. Example Operating Environment

FIG. 1 illustrates an example configuration of a media playback system 100 in which one or more embodiments disclosed herein may be practiced or implemented. The media playback system 100 as shown is associated with an example home environment having several rooms and spaces, such as for example, a master bedroom, an office, a dining room, and a living room. As shown in the example of FIG. 1, the media playback system 100 includes playback devices 102-124, control devices 126 and 128, and a wired or wireless network router 130.

Further discussions relating to the different components of the example media playback system 100 and how the different components may interact to provide a user with a media experience may be found in the following sections. While discussions herein may generally refer to the example media playback system 100, technologies described herein are not limited to applications within, among other things, the home environment as shown in FIG. 1. For instance, the technologies described herein may be useful in environments where multi-zone audio may be desired, such as, for example, a commercial setting like a restaurant, mall or airport, a vehicle like a sports utility vehicle (SUV), bus or car, a ship or boat, an airplane, and so on.

a. Example Playback Devices

FIG. 2 shows a functional block diagram of an example playback device 200 that may be configured to be one or more of the playback devices 102-124 of the media playback system 100 of FIG. 1. The playback device 200 may include a processor 202, software components 204, memory 206, audio processing components 208, audio amplifier(s) 210, speaker(s) 212, and a network interface 214 including wireless interface(s) 216 and wired interface(s) 218. In one case, the playback device 200 may not include the speaker(s) 212, but rather a speaker interface for connecting the playback device 200 to external speakers. In another case, the playback device 200 may include neither the speaker(s) 212 nor the audio amplifier(s) 210, but rather an audio interface for connecting the playback device 200 to an external audio amplifier or audio-visual receiver.

In one example, the processor 202 may be a clock-driven computing component configured to process input data according to instructions stored in the memory 206. The memory 206 may be a tangible computer-readable medium configured to store instructions executable by the processor 202. For instance, the memory 206 may be data storage that can be loaded with one or more of the software components 204 executable by the processor 202 to achieve certain functions. In one example, the functions may involve the playback device 200 retrieving audio data from an audio source or another playback device. In another example, the functions may involve the playback device 200 sending audio data to another device or playback device on a network. In yet another example, the functions may involve pairing of the playback device 200 with one or more playback devices to create a multi-channel audio environment.

Certain functions may involve the playback device 200 synchronizing playback of audio content with one or more other playback devices. During synchronous playback, a listener will preferably not be able to perceive time-delay differences between playback of the audio content by the playback device 200 and the one or more other playback devices. U.S. Pat. No. 8,234,395 entitled, “System and method for synchronizing operations among a plurality of independently clocked digital data processing devices,” which is hereby incorporated by reference, provides in more detail some examples for audio playback synchronization among playback devices.

The memory 206 may further be configured to store data associated with the playback device 200, such as one or more zones and/or zone groups the playback device 200 is a part of, audio sources accessible by the playback device 200, or a playback queue that the playback device 200 (or some other playback device) may be associated with. The data may be stored as one or more state variables that are periodically updated and used to describe the state of the playback device 200. The memory 206 may also include the data associated with the state of the other devices of the media system, and shared from time to time among the devices so that one or more of the devices have the most recent data associated with the system. Other embodiments are also possible.

The audio processing components 208 may include one or more digital-to-analog converters (DAC), an audio preprocessing component, an audio enhancement component or a digital signal processor (DSP), and so on. In one embodiment, one or more of the audio processing components 208 may be a subcomponent of the processor 202. In one example, audio content may be processed and/or intentionally altered by the audio processing components 208 to produce audio signals. The produced audio signals may then be provided to the audio amplifier(s) 210 for amplification and playback through speaker(s) 212. Particularly, the audio amplifier(s) 210 may include devices configured to amplify audio signals to a level for driving one or more of the speakers 212. The speaker(s) 212 may include an individual transducer (e.g., a “driver”) or a complete speaker system involving an enclosure with one or more drivers. A particular driver of the speaker(s) 212 may include, for example, a subwoofer (e.g., for low frequencies), a mid-range driver (e.g., for middle frequencies), and/or a tweeter (e.g., for high frequencies). In some cases, each transducer in the one or more speakers 212 may be driven by an individual corresponding audio amplifier of the audio amplifier(s) 210. In addition to producing analog signals for playback by the playback device 200, the audio processing components 208 may be configured to process audio content to be sent to one or more other playback devices for playback.

Audio content to be processed and/or played back by the playback device 200 may be received from an external source, such as via an audio line-in input connection (e.g., an auto-detecting 3.5 mm audio line-in connection) or the network interface 214.

The network interface 214 may be configured to facilitate a data flow between the playback device 200 and one or more other devices on a data network. As such, the playback device 200 may be configured to receive audio content over the data network from one or more other playback devices in communication with the playback device 200, network devices within a local area network, or audio content sources over a wide area network such as the Internet. In one example, the audio content and other signals transmitted and received by the playback device 200 may be transmitted in the form of digital packet data containing an Internet Protocol (IP)-based source address and IP-based destination addresses. In such a case, the network interface 214 may be configured to parse the digital packet data such that the data destined for the playback device 200 is properly received and processed by the playback device 200.

As shown, the network interface 214 may include wireless interface(s) 216 and wired interface(s) 218. The wireless interface(s) 216 may provide network interface functions for the playback device 200 to wirelessly communicate with other devices (e.g., other playback device(s), speaker(s), receiver(s), network device(s), control device(s) within a data network the playback device 200 is associated with) in accordance with a communication protocol (e.g., any wireless standard including IEEE 802.11a, 802.11b, 802.11g, 802.11n, 802.11ac, 802.15, 4G mobile communication standard, and so on). The wired interface(s) 218 may provide network interface functions for the playback device 200 to communicate over a wired connection with other devices in accordance with a communication protocol (e.g., IEEE 802.3). While the network interface 214 shown in FIG. 2 includes both wireless interface(s) 216 and wired interface(s) 218, the network interface 214 may in some embodiments include only wireless interface(s) or only wired interface(s).

In one example, the playback device 200 and one other playback device may be paired to play two separate audio components of audio content. For instance, playback device 200 may be configured to play a left channel audio component, while the other playback device may be configured to play a right channel audio component, thereby producing or enhancing a stereo effect of the audio content. The paired playback devices (also referred to as “bonded playback devices”) may further play audio content in synchrony with other playback devices.

In another example, the playback device 200 may be sonically consolidated with one or more other playback devices to form a single, consolidated playback device. A consolidated playback device may be configured to process and reproduce sound differently than an unconsolidated playback device or playback devices that are paired, because a consolidated playback device may have additional speaker drivers through which audio content may be rendered. For instance, if the playback device 200 is a playback device designed to render low frequency range audio content (i.e. a subwoofer), the playback device 200 may be consolidated with a playback device designed to render full frequency range audio content. In such a case, the full frequency range playback device, when consolidated with the low frequency playback device 200, may be configured to render only the mid and high frequency components of audio content, while the low frequency range playback device 200 renders the low frequency component of the audio content. The consolidated playback device may further be paired with a single playback device or yet another consolidated playback device.

By way of illustration, SONOS, Inc. presently offers (or has offered) for sale certain playback devices including a “PLAY:1,” “PLAY:3,” “PLAY:5,” “PLAYBAR,” “CONNECT:AMP,” “CONNECT,” and “SUB.” Any other past, present, and/or future playback devices may additionally or alternatively be used to implement the playback devices of example embodiments disclosed herein. Additionally, it is understood that a playback device is not limited to the example illustrated in FIG. 2 or to the SONOS product offerings. For example, a playback device may include a wired or wireless headphone. In another example, a playback device may include or interact with a docking station for personal mobile media playback devices. In yet another example, a playback device may be integral to another device or component such as a television, a lighting fixture, or some other device for indoor or outdoor use.

b. Example Playback Zone Configurations

Referring back to the media playback system 100 of FIG. 1, the environment may have one or more playback zones, each with one or more playback devices. The media playback system 100 may be established with one or more playback zones, after which one or more zones may be added, or removed to arrive at the example configuration shown in FIG. 1. Each zone may be given a name according to a different room or space such as an office, bathroom, master bedroom, bedroom, kitchen, dining room, living room, and/or balcony. In one case, a single playback zone may include multiple rooms or spaces. In another case, a single room or space may include multiple playback zones.

As shown in FIG. 1, the balcony, dining room, kitchen, bathroom, office, and bedroom zones each have one playback device, while the living room and master bedroom zones each have multiple playback devices. In the living room zone, playback devices 104, 106, 108, and 110 may be configured to play audio content in synchrony as individual playback devices, as one or more bonded playback devices, as one or more consolidated playback devices, or any combination thereof. Similarly, in the case of the master bedroom, playback devices 122 and 124 may be configured to play audio content in synchrony as individual playback devices, as a bonded playback device, or as a consolidated playback device.

In one example, one or more playback zones in the environment of FIG. 1 may each be playing different audio content. For instance, the user may be grilling in the balcony zone and listening to hip hop music being played by the playback device 102 while another user may be preparing food in the kitchen zone and listening to classical music being played by the playback device 114. In another example, a playback zone may play the same audio content in synchrony with another playback zone. For instance, the user may be in the office zone where the playback device 118 is playing the same rock music that is being playing by playback device 102 in the balcony zone. In such a case, playback devices 102 and 118 may be playing the rock music in synchrony such that the user may seamlessly (or at least substantially seamlessly) enjoy the audio content that is being played out-loud while moving between different playback zones. Synchronization among playback zones may be achieved in a manner similar to that of synchronization among playback devices, as described in previously referenced U.S. Pat. No. 8,234,395.

As suggested above, the zone configurations of the media playback system 100 may be dynamically modified, and in some embodiments, the media playback system 100 supports numerous configurations. For instance, if a user physically moves one or more playback devices to or from a zone, the media playback system 100 may be reconfigured to accommodate the change(s). For instance, if the user physically moves the playback device 102 from the balcony zone to the office zone, the office zone may now include both the playback device 118 and the playback device 102. The playback device 102 may be paired or grouped with the office zone and/or renamed if so desired via a control device such as the control devices 126 and 128. On the other hand, if the one or more playback devices are moved to a particular area in the home environment that is not already a playback zone, a new playback zone may be created for the particular area.

Further, different playback zones of the media playback system 100 may be dynamically combined into zone groups or split up into individual playback zones. For instance, the dining room zone and the kitchen zone 114 may be combined into a zone group for a dinner party such that playback devices 112 and 114 may render audio content in synchrony. On the other hand, the living room zone may be split into a television zone including playback device 104, and a listening zone including playback devices 106, 108, and 110, if the user wishes to listen to music in the living room space while another user wishes to watch television.

c. Example Control Devices

FIG. 3 shows a functional block diagram of an example control device 300 that may be configured to be one or both of the control devices 126 and 128 of the media playback system 100. Control device 300 may also be referred to as a controller 300. As shown, the control device 300 may include a processor 302, memory 304, a network interface 306, and a user interface 308. In one example, the control device 300 may be a dedicated controller for the media playback system 100. In another example, the control device 300 may be a network device on which media playback system controller application software may be installed, such as for example, an iPhone™ iPad™ or any other smart phone, tablet or network device (e.g., a networked computer such as a PC or Mac™)

The processor 302 may be configured to perform functions relevant to facilitating user access, control, and configuration of the media playback system 100. The memory 304 may be configured to store instructions executable by the processor 302 to perform those functions. The memory 304 may also be configured to store the media playback system controller application software and other data associated with the media playback system 100 and the user.

In one example, the network interface 306 may be based on an industry standard (e.g., infrared, radio, wired standards including IEEE 802.3, wireless standards including IEEE 802.11a, 802.11b, 802.11g, 802.11n, 802.11ac, 802.15, 4G mobile communication standard, and so on). The network interface 306 may provide a means for the control device 300 to communicate with other devices in the media playback system 100. In one example, data and information (e.g., such as a state variable) may be communicated between control device 300 and other devices via the network interface 306. For instance, playback zone and zone group configurations in the media playback system 100 may be received by the control device 300 from a playback device or another network device, or transmitted by the control device 300 to another playback device or network device via the network interface 306. In some cases, the other network device may be another control device.

Playback device control commands such as volume control and audio playback control may also be communicated from the control device 300 to a playback device via the network interface 306. As suggested above, changes to configurations of the media playback system 100 may also be performed by a user using the control device 300. The configuration changes may include adding/removing one or more playback devices to/from a zone, adding/removing one or more zones to/from a zone group, forming a bonded or consolidated player, separating one or more playback devices from a bonded or consolidated player, among others. Accordingly, the control device 300 may sometimes be referred to as a controller, whether the control device 300 is a dedicated controller or a network device on which media playback system controller application software is installed.

The user interface 308 of the control device 300 may be configured to facilitate user access and control of the media playback system 100, by providing a controller interface such as the controller interface 400 shown in FIG. 4. The controller interface 400 includes a playback control region 410, a playback zone region 420, a playback status region 430, a playback queue region 440, and an audio content sources region 450. The user interface 400 as shown is just one example of a user interface that may be provided on a network device such as the control device 300 of FIG. 3 (and/or the control devices 126 and 128 of FIG. 1) and accessed by users to control a media playback system such as the media playback system 100. Other user interfaces of varying formats, styles, and interactive sequences may alternatively be implemented on one or more network devices to provide comparable control access to a media playback system.

The playback control region 410 may include selectable (e.g., by way of touch or by using a cursor) icons to cause playback devices in a selected playback zone or zone group to play or pause, fast forward, rewind, skip to next, skip to previous, enter/exit shuffle mode, enter/exit repeat mode, enter/exit cross fade mode. The playback control region 410 may also include selectable icons to modify equalization settings, and playback volume, among other possibilities.

The playback zone region 420 may include representations of playback zones within the media playback system 100. In some embodiments, the graphical representations of playback zones may be selectable to bring up additional selectable icons to manage or configure the playback zones in the media playback system, such as a creation of bonded zones, creation of zone groups, separation of zone groups, and renaming of zone groups, among other possibilities.

For example, as shown, a “group” icon may be provided within each of the graphical representations of playback zones. The “group” icon provided within a graphical representation of a particular zone may be selectable to bring up options to select one or more other zones in the media playback system to be grouped with the particular zone. Once grouped, playback devices in the zones that have been grouped with the particular zone will be configured to play audio content in synchrony with the playback device(s) in the particular zone. Analogously, a “group” icon may be provided within a graphical representation of a zone group. In this case, the “group” icon may be selectable to bring up options to deselect one or more zones in the zone group to be removed from the zone group. Other interactions and implementations for grouping and ungrouping zones via a user interface such as the user interface 400 are also possible. The representations of playback zones in the playback zone region 420 may be dynamically updated as playback zone or zone group configurations are modified.

The playback status region 430 may include graphical representations of audio content that is presently being played, previously played, or scheduled to play next in the selected playback zone or zone group. The selected playback zone or zone group may be visually distinguished on the user interface, such as within the playback zone region 420 and/or the playback status region 430. The graphical representations may include track title, artist name, album name, album year, track length, and other relevant information that may be useful for the user to know when controlling the media playback system via the user interface 400.

The playback queue region 440 may include graphical representations of audio content in a playback queue associated with the selected playback zone or zone group. In some embodiments, each playback zone or zone group may be associated with a playback queue containing information corresponding to zero or more audio items for playback by the playback zone or zone group. For instance, each audio item in the playback queue may comprise a uniform resource identifier (URI), a uniform resource locator (URL) or some other identifier that may be used by a playback device in the playback zone or zone group to find and/or retrieve the audio item from a local audio content source or a networked audio content source, possibly for playback by the playback device.

In one example, a playlist may be added to a playback queue, in which case information corresponding to each audio item in the playlist may be added to the playback queue. In another example, audio items in a playback queue may be saved as a playlist. In a further example, a playback queue may be empty, or populated but “not in use” when the playback zone or zone group is playing continuously streaming audio content, such as Internet radio that may continue to play until otherwise stopped, rather than discrete audio items that have playback durations. In an alternative embodiment, a playback queue can include Internet radio and/or other streaming audio content items and be “in use” when the playback zone or zone group is playing those items. Other examples are also possible.

When playback zones or zone groups are “grouped” or “ungrouped,” playback queues associated with the affected playback zones or zone groups may be cleared or re-associated. For example, if a first playback zone including a first playback queue is grouped with a second playback zone including a second playback queue, the established zone group may have an associated playback queue that is initially empty, that contains audio items from the first playback queue (such as if the second playback zone was added to the first playback zone), that contains audio items from the second playback queue (such as if the first playback zone was added to the second playback zone), or a combination of audio items from both the first and second playback queues. Subsequently, if the established zone group is ungrouped, the resulting first playback zone may be re-associated with the previous first playback queue, or be associated with a new playback queue that is empty or contains audio items from the playback queue associated with the established zone group before the established zone group was ungrouped. Similarly, the resulting second playback zone may be re-associated with the previous second playback queue, or be associated with a new playback queue that is empty, or contains audio items from the playback queue associated with the established zone group before the established zone group was ungrouped. Other examples are also possible.

Referring back to the user interface 400 of FIG. 4, the graphical representations of audio content in the playback queue region 440 may include track titles, artist names, track lengths, and other relevant information associated with the audio content in the playback queue. In one example, graphical representations of audio content may be selectable to bring up additional selectable icons to manage and/or manipulate the playback queue and/or audio content represented in the playback queue. For instance, a represented audio content may be removed from the playback queue, moved to a different position within the playback queue, or selected to be played immediately, or after any currently playing audio content, among other possibilities. A playback queue associated with a playback zone or zone group may be stored in a memory on one or more playback devices in the playback zone or zone group, on a playback device that is not in the playback zone or zone group, and/or some other designated device. Playback of such a playback queue may involve one or more playback devices playing back media items of the queue, perhaps in sequential or random order.

The audio content sources region 450 may include graphical representations of selectable audio content sources from which audio content may be retrieved and played by the selected playback zone or zone group. Discussions pertaining to audio content sources may be found in the following section.

d. Example Audio Content Sources

As indicated previously, one or more playback devices in a zone or zone group may be configured to retrieve for playback audio content (e.g., according to a corresponding URI or URL for the audio content) from a variety of available audio content sources. In one example, audio content may be retrieved by a playback device directly from a corresponding audio content source (e.g., a line-in connection). In another example, audio content may be provided to a playback device over a network via one or more other playback devices or network devices.

Example audio content sources may include a memory of one or more playback devices in a media playback system such as the media playback system 100 of FIG. 1, local music libraries on one or more network devices (such as a control device, a network-enabled personal computer, or a networked-attached storage (NAS), for example), streaming audio services providing audio content via the Internet (e.g., the cloud), or audio sources connected to the media playback system via a line-in input connection on a playback device or network devise, among other possibilities.

In some embodiments, audio content sources may be regularly added or removed from a media playback system such as the media playback system 100 of FIG. 1. In one example, an indexing of audio items may be performed whenever one or more audio content sources are added, removed or updated. Indexing of audio items may involve scanning for identifiable audio items in all folders/directory shared over a network accessible by playback devices in the media playback system, and generating or updating an audio content database containing metadata (e.g., title, artist, album, track length, among others) and other associated information, such as a URI or URL for each identifiable audio item found. Other examples for managing and maintaining audio content sources may also be possible.

Moving now to several example implementations, implementations 500, 1400, and 1600 shown in FIGS. 5, 14 and 16, respectively present example embodiments of techniques described herein. These example embodiments that can be implemented within an operating environment including, for example, the media playback system 100 of FIG. 1, one or more of the playback device 200 of FIG. 2, or one or more of the control device 300 of FIG. 3. Further, operations illustrated by way of example as being performed by a media playback system can be performed by any suitable device, such as a playback device or a control device of a media playback system. Implementations 500, 1400, and 1600 may include one or more operations, functions, or actions as illustrated by one or more of blocks shown in FIGS. 5, 14 and 16. Although the blocks are illustrated in sequential order, these blocks may also be performed in parallel, and/or in a different order than those described herein. Also, the various blocks may be combined into fewer blocks, divided into additional blocks, and/or removed based upon the desired implementation.

In addition, for the implementations disclosed herein, the flowcharts show functionality and operation of one possible implementation of present embodiments. In this regard, each block may represent a module, a segment, or a portion of program code, which includes one or more instructions executable by a processor for implementing specific logical functions or steps in the process. The program code may be stored on any type of computer readable medium, for example, such as a storage device including a disk or hard drive. The computer readable medium may include non-transitory computer readable medium, for example, such as computer-readable media that stores data for short periods of time like register memory, processor cache, and Random Access Memory (RAM). The computer readable medium may also include non-transitory media, such as secondary or persistent long term storage, like read only memory (ROM), optical or magnetic disks, compact-disc read only memory (CD-ROM), for example. The computer readable media may also be any other volatile or non-volatile storage systems. The computer readable medium may be considered a computer readable storage medium, for example, or a tangible storage device. In addition, for the implementations disclosed herein, each block may represent circuitry that is wired to perform the specific logical functions in the process.

III. Example Techniques to Facilitate Calibration of a Playback Device by Causing a Playback Device to Emit a Hybrid Calibration Sound

As discussed above, embodiments described herein may facilitate the calibration of one or more playback devices. FIG. 5 illustrates an example implementation 500 to cause a playback device to emit a hybrid calibration sound.

a. Detect Trigger Condition That Initiates Calibration Of At Least One Playback Device

At block 502, implementation 500 involves detecting a trigger condition that initiates calibration of at least one playback device. For instance, a control device, such as control device 126 of media playback system 100, may detect a trigger condition that causes control device 126 to initiate calibration of a playback device (e.g., one of playback devices 102-124). Alternatively, a playback device of a media playback system may detect such a trigger condition (and perhaps relay an indication of that trigger condition to a control device). As noted above, calibration of a playback device may involve adjusting one or more acoustic parameters of a playback device's speakers (i.e., channels) in an attempt to improve acoustic characteristic of those speakers within a given environment.

In some embodiments, detecting the trigger condition may involve detecting input data indicating a selection of a selectable control. For instance, a control device, such as control device 126, may display an interface (e.g., control interface 400 of FIG. 4), which includes one or more controls that, when selected, initiate calibration of a playback device, or a group of playback devices (e.g., a zone).

To illustrate such a control, FIG. 6 shows a control device 600 (e.g., a smartphone) which is displaying an example control interface 602. Control interface 602 includes a graphical region 604 that prompts to tap selectable control 606 (Start) when ready. When selected, selectable control 606 may initiate the calibration procedure. As shown, selectable control 606 is a button control. While a button control is shown by way of example, other types of controls are contemplated as well.

Control interface 602 further includes a graphical region 608 that includes a video depicting how to assist in the calibration procedure. Some calibration procedures may involve moving a microphone through an environment in order to obtain samples of the calibration sound at multiple physical locations. In order to prompt a user to move the microphone, the control device may display a video or animation depicting the step or steps to be performed during the calibration.

To illustrate movement of the control device during calibration, FIG. 7 shows media playback system 100 of FIG. 1. FIG. 7 shows a path 700 along which a control device (e.g., control device 126) might be moved during calibration. As noted above, the control device may indicate how to perform such a movement in various ways, such as by way of a video or animation, among other examples.

In other examples, detecting the trigger condition may involve a playback device detecting that the playback device has become uncalibrated, which might be caused by moving the playback device to a different position. For example, the playback device may detect physical movement via one or more sensors that are sensitive to movement (e.g., an accelerometer). As another example, the playback device may detect that it has been moved to a different zone (e.g., from a “Kitchen” zone to a “Living Room” zone), perhaps by receiving an instruction from a control device that causes the playback device to leave a first zone and join a second zone.

In further examples, detecting the trigger condition may involve a device (e.g., a control device or playback device) detecting a new playback device in the system. Such a playback device may have not yet been calibrated for the environment. For instance, a control device may detect a new playback device as part of a set-up procedure for a media playback system (e.g., a procedure to configure one or more playback devices into a media playback system). In other cases, the control device may detect a new playback device by detecting input data indicating a request to configure the media playback system (e.g., a request to configure a media playback system with an additional playback device).

b. Send Command that Instructs Playback Device(s) To Emit Calibration Sound

Referring back to FIG. 5, at block 504, implementation 500 involves sending a command that instructs the at least one playback device to emit a calibration sound. For instance, a control device, such as control device 126 of media playback system 100, may send a command that causes a playback device (e.g., one of playback devices 102-124) to emit a calibration sound. The control device may send the command via a network interface (e.g., a wired or wireless network interface). A playback device may receive such a command, perhaps via a network interface, and responsively emit the calibration sound.

The emitted calibration sound may include frequencies that cover a calibration frequency range. As noted above, a control device may analyze the calibration sound over a range of frequencies over which the playback device is to be calibrated (i.e., a calibration range). Accordingly, the command may instruct the playback device to emit a calibration sound that covers the calibration frequency range. The calibration frequency range may include a range of frequencies that the playback device is capable of emitting (e.g., 15-30,000 Hz) and may be inclusive of frequencies that are considered to be in the range of human hearing (e.g., 20-20,000 Hz). By emitting a calibration tone covering such a range of frequencies, a frequency response that is inclusive of that range may be determined for the playback device.

In some embodiments, a playback device may repeatedly emit the calibration sound during the calibration procedure such that the calibration sound covers the calibration frequency range during each repetition. With a moving microphone, repetitions of the calibration sound are detected at different physical locations within the environment, thereby providing samples that are spaced throughout the environment. In some cases, the calibration sound may be periodic calibration signal in which each period covers the calibration frequency range.

To facilitate determining a frequency response, the calibration sound should be emitted with sufficient energy at each frequency to overcome background noise. To increase the energy at a given frequency, a tone at that frequency may be emitted for a longer duration. However, by lengthening the period of the calibration sound, the spatial resolution of the calibration procedure is decreased, as the moving microphone moves further during each period (assuming a relatively constant velocity). As another technique to increase the energy at a given frequency, a playback device may increase the intensity of the tone. However, in some cases, attempting to emit sufficient energy in a short amount of time may damage speaker drivers of the playback device.

Some implementations may balance these considerations by instructing the playback device to emit a calibration sound having a period that is approximately ⅜th of a second in duration (e.g., in the range of ¼ to 1 second in duration). In other words, the calibration sound may repeat at a frequency of 2-4 Hz. Such a duration may be long enough to provide a tone of sufficient energy at each frequency to overcome background noise in a typical environment (e.g., a quiet room) but also be short enough that spatial resolution is kept in an acceptable range (e.g., less than a few feet assuming normal walking speed).

In some embodiments, the command may instruct the playback device to emit a hybrid calibration sound that combines a first component and a second component having respective waveforms. For instance, an example hybrid calibration sound might include a first component that includes noises at certain frequencies and a second component that sweeps through other frequencies (e.g., a swept-sine). A noise component may cover relatively low frequencies of the calibration frequency range (e.g., 10-50 Hz) while the swept signal component covers higher frequencies of that range (e.g., above 50 Hz). Such a hybrid calibration sound may combine the advantages of its component signals.

A swept signal (e.g., a chirp or swept sine) is a waveform in which the frequency increases or decreases with time. Including such a waveform as a component of a hybrid calibration sound may facilitate covering a calibration frequency range, as a swept signal can be chosen that increases or decreases through the calibration frequency range (or a portion thereof). For example, a chirp emits each frequency within the chirp for a relatively short time period such that a chirp can more efficiently cover a calibration range relative to some other waveforms. FIG. 8 shows a graph 800 that illustrates an example chirp. As shown in FIG. 8, the frequency of the waveform increases over time (plotted on the X-axis) and a tone is emitted at each frequency for a relatively short period of time.

However, because each frequency within the chirp is emitted for a relatively short duration of time, the amplitude (or sound intensity) of the chirp must be relatively high at low frequencies to overcome typical background noise. Some speakers might not be capable of outputting such high intensity tones without risking damage. Further, such high intensity tones might be unpleasant to humans within audible range of the playback device, as might be expected during a calibration procedure that involves a moving microphone. Accordingly, some embodiments of the calibration sound might not include a chirp that extends to relatively low frequencies (e.g., below 50 Hz). Instead, the chirp or swept signal may cover frequencies between a relatively low threshold frequency (e.g., a frequency around 50-100 Hz) and a maximum of the calibration frequency range. The maximum of the calibration range may correspond to the physical capabilities of the channel(s) emitting the calibration sound, which might be 20,000 Hz or above.

A swept signal might also facilitate the reversal of phase distortion caused by the moving microphone. As noted above, a moving microphone causes phase distortion, which may interfere with determining a frequency response from a detected calibration sound. However, with a swept signal, the phase of each frequency is predictable (as Doppler shift). This predictability facilitates reversing the phase distortion so that a detected calibration sound can be correlated to an emitted calibration sound during analysis. Such a correlation can be used to determine the effect of the environment on the calibration sound.

As noted above, a swept signal may increase or decrease frequency over time. In some embodiments, the control device may instruct the playback device to emit a chirp that descends from the maximum of the calibration range (or above) to the threshold frequency (or below). A descending chirp may be more pleasant to hear to some listeners than an ascending chirp, due to the physical shape of the human ear canal. While some implementation may use a descending swept signal, an ascending swept signal may also be effective for calibration.

As noted above, example calibration sounds may include a noise component in addition to a swept signal component. Noise refers to a random signal, which is in some cases filtered to have equal energy per octave. In embodiments where the noise component is periodic, the noise component of a hybrid calibration sound might be considered to be pseudorandom. The noise component of the calibration sound may be emitted for substantially the entire period or repetition of the calibration sound. This causes each frequency covered by the noise component to be emitted for a longer duration, which decreases the signal intensity typically required to overcome background noise.

Moreover, the noise component may cover a smaller frequency range than the chirp component, which may increase the sound energy at each frequency within the range. As noted above, a noise component might cover frequencies between a minimum of the frequency range and a threshold frequency, which might be, for example around a frequency around 50-100 Hz. As with the maximum of the calibration range, the minimum of the calibration range may correspond to the physical capabilities of the channel(s) emitting the calibration sound, which might be 20 Hz or below.

FIG. 9 shows a graph 900 that illustrates an example brown noise. Brown noise is a type of noise that is based on Brownian motion. In some cases, the playback device may emit a calibration sound that includes a brown noise in its noise component. Brown noise has a “soft” quality, similar to a waterfall or heavy rainfall, which may be considered pleasant to some listeners. While some embodiments may implement a noise component using brown noise, other embodiments may implement the noise component using other types of noise, such as pink noise or white noise. As shown in FIG. 9, the intensity of the example brown noise decreases by 6 dB per octave (20 dB per decade).

Some implementations of a hybrid calibration sound may include a transition frequency range in which the noise component and the swept component overlap. As indicated above, in some examples, the control device may instruct the playback device to emit a calibration sound that includes a first component (e.g., a noise component) and a second component (e.g., a sweep signal component). The first component may include noise at frequencies between a minimum of the calibration frequency range and a first threshold frequency, and the second component may sweep through frequencies between a second threshold frequency and a maximum of the calibration frequency range.

To overlap these signals, the second threshold frequency may a lower frequency than the first threshold frequency. In such a configuration, the transition frequency range includes frequencies between the second threshold frequency and the first threshold frequency, which might be, for example, 50-100 Hz. By overlapping these components, the playback device may avoid emitting a possibly unpleasant sound associated with a harsh transition between the two types of sounds.

FIGS. 10A and 10B illustrate components of example hybrid calibration signals that cover a calibration frequency range 1000. FIG. 10A illustrates a first component 1002A (i.e., a noise component) and a second component 1004A of an example calibration sound. Component 1002A covers frequencies from a minimum 1008A of the calibration range 1000 to a first threshold frequency 1008A. Component 1004A covers frequencies from a second threshold 1010A to a maximum of the calibration frequency range 1000. As shown, the threshold frequency 1008A and the threshold frequency 1010A are the same frequency.

FIG. 10B illustrates a first component 1002B (i.e., a noise component) and a second component 1004B of another example calibration sound. Component 1002B covers frequencies from a minimum 1008B of the calibration range 1000 to a first threshold frequency 1008A. Component 1004A covers frequencies from a second threshold 1010B to a maximum 1012B of the calibration frequency range 1000. As shown, the threshold frequency 1010B is a lower frequency than threshold frequency 1008B such that component 1002B and component 1004B overlap in a transition frequency range that extends from threshold frequency 1010B to threshold frequency 1008B.

FIG. 11 illustrates one example iteration (e.g., a period or cycle) of an example hybrid calibration sound that is represented as a frame 1100. The frame 1100 includes a swept signal component 1102 and noise component 1104. The swept signal component 1102 is shown as a downward sloping line to illustrate a swept signal that descends through frequencies of the calibration range. The noise component 1104 is shown as a region to illustrate low-frequency noise throughout the frame 1100. As shown, the swept signal component 1102 and the noise component overlap in a transition frequency range. The period 1106 of the calibration sound is approximately ⅜ths of a second (e.g., in a range of ¼ to ½ second), which in some implementation is sufficient time to cover the calibration frequency range of a single channel.

FIG. 12 illustrates an example periodic calibration sound 1200. Five iterations (e.g., periods) of hybrid calibration sound 1100 are represented as a frames 1202, 1204, 1206, 1208, and 1210. In each iteration, or frame, the periodic calibration sound 1200 covers a calibration frequency range using two components (e.g., a noise component and a swept signal component).

In some embodiments, a spectral adjustment may be applied to the calibration sound to give the calibration sound a desired shape, or roll off, which may avoid overloading speaker drivers. For instance, the calibration sound may be filtered to roll off at 3 dB per octave, or 1/f. Such a spectral adjustment might not be applied to vary low frequencies to prevent overloading the speaker drivers.

In some embodiments, the calibration sound may be pre-generated. Such a pre-generated calibration sound might be stored on the control device, the playback device, or on a server (e.g., a server that provides a cloud service to the media playback system). In some cases, the control device or server may send the pre-generated calibration sound to the playback device via a network interface, which the playback device may retrieve via a network interface of its own. Alternatively, a control device may send the playback device an indication of a source of the calibration sound (e.g., a URI), which the playback device may use to obtain the calibration sound.

Alternatively, the control device or the playback device may generate the calibration sound. For instance, for a given calibration range, the control device may generate noise that covers at least frequencies between a minimum of the calibration frequency range and a first threshold frequency and a swept sine that covers at least frequencies between a second threshold frequency and a maximum of the calibration frequency range. The control device may combine the swept sine and the noise into the periodic calibration sound by applying a crossover filter function. The cross-over filter function may combine a portion of the generated noise that includes frequencies below the first threshold frequency and a portion of the generated swept sine that includes frequencies above the second threshold frequency to obtain the desired calibration sound. The device generating the calibration sound may have an analog circuit and/or digital signal processor to generate and/or combine the components of the hybrid calibration sound.

In some embodiments, prior to sending the command that instructs the playback device to emit the calibration sound, the control device may determine whether the ambient noise in the environment exceeds a threshold level, such that the ambient noise might affect the calibration procedure. The threshold level may be consistent with a quiet room (e.g., 30-50 dB). If the ambient noise exceeds the threshold sound pressure level, the control device may cause a graphical interface to display a request to lower the ambient noise level of the calibration environment. During or after providing such a display, the control device may re-test the sound pressure level of the environment to determine whether ambient noise of the environment has been reduced to below the threshold level. While a control device has been described by way of example as testing the ambient sound pressure level, in alternative embodiments the playback device may determine whether the ambient noise in the environment exceeds the threshold level and transmit this status (or the sound pressure level of the environment) to the control device.

The instruction that causes the playback device to emit the calibration sound may include (or be accompanied by in a separate transmission) parameters that influence the calibration procedure. For instance, the control device may send an indication of the type of microphone (or the type of control device, which may indicate the type of microphone) to the playback device. The microphone that is ultimately used to detect the calibration sound may have a response of its own, which may influence how the calibration sound is perceived. For instance, a given microphone might be sensitive to frequencies between 10 Hz and 22,000 Hz, such that any portion(s) of the calibration sound which are outside of this range are unable to be detected by the microphone. As another example, a particular microphone might be more or less sensitive to certain frequencies, such that certain frequencies may be detected by the microphone as relatively louder or quieter. Some calibration procedures may be improved by offsetting such characteristics of the microphone.

Another parameter that may influence the calibration procedure is the room size, as playback device may emit the calibration sound at a volume that is proportional to the room size. For instance, when receiving an indication that the calibration environment is a relatively large room, the playback device may emit the calibration sound with at a first volume level (which is a relatively high sound pressure level). Conversely, when receiving an indication that the calibration environment is a relatively small room, the playback device may emit the calibration sound with at a second volume level that is a lower sound pressure level than the first volume level. A higher sound pressure level may facilitate the calibration sound propagating through a large environment and reflecting back to the microphone with sufficient intensity to be detectable over ambient noise.

The calibration sound may also be based on the type of playback device. Some playback devices may emit sounds at certain frequencies with more or less intensity than other frequencies. For instance, a playback device with a tweeter may emit high frequencies at a higher intensity than a playback device without a tweeter. Further, such a playback device might be capable of outputting higher frequencies than a playback device without a tweeter. Accordingly, in some embodiments, the playback device may adjust the calibration sound to increase or decrease the sound intensity at certain frequencies, or might determine a particular calibration range based on the type of playback device (and its capabilities).

c. Detect Emitted Calibration Sound(s)

In FIG. 5, at block 506, implementation 500 involves detecting the emitted calibration sound. For instance, a control device, such as control device 126 of media playback system 100, may detect, via a microphone, at least a portion of the emitted calibration sound. Given that the microphone is moving throughout the calibration environment, the control device may detect iterations of the calibration sound at different physical locations of the environment, which may provide a better understanding of the environment as a whole.

For example, referring back to FIG. 7, control device 126 may detect calibration sounds emitted by a playback device (e.g., playback device 108) at various points along the path 700 (e.g., at point 702 and/or point 704). Alternatively, the control device may record the calibration signal along the path. In some embodiments, the playback device may play a periodic calibration signal (or perhaps repeat the same calibration signal) such that the playback device records an instance of the calibration signal at different points along the paths. Comparison of such recordings may indicate how the acoustic characteristics change from one physical location in the environment to another, which influences the calibration settings chosen for the playback device in that environment.

After the control device records the calibration sounds, the recordings of the calibration sounds may be analyzed to determine calibration settings for the playback device. In some embodiments, the control device may analyze the calibration sounds itself Alternatively, the control device may transmit the recordings (or a portion thereof) to another computing system (perhaps a computing system with more processing power, such as a personal computer or server (e.g., a server involved in providing a cloud computing service).

FIG. 13 illustrates an example implementation 1300 of a technique to analyze a detected calibration sound. At block 1302, a control device detects calibration sounds, perhaps using the techniques discussed in connection with block 506 of FIG. 6. At block 1304, one or more processors (e.g., processor(s) 202 of control device 200 illustrated in FIG. 2) receive the detected calibration sounds as an input. At block 1306, the one or more processors identify frames (e.g., periods) of the calibration sound, such as frames 1202 through 1210 of FIG. 12. As discussed above, individual frames may include a repetition of the calibration sound such that the frame includes a detect sound that covers frequencies across a calibration frequency range.

At block 1308, the one or more processors correct for characteristics of the microphone used to detect the calibration sound. To facilitate such correction, at block 1310, the one or more processors receive a microphone correction curve that indicates the frequency response of the microphone. Using such a curve, the one or more processors can offset effects of the particular microphone on the detected calibration sound.

At block 1312, the one or more processors determine whether each the detected calibration sound in each frame satisfies a threshold signal to noise ratio. Detected calibration sounds that do not satisfy this threshold may be excluded from the analysis, as ambient noise may have interfered with the emission and detection of these instances of the calibration sound.

At block 1314, the one or more processors average the response curves of the detected calibration sounds. As noted above, with a moving microphone, repetitions of the calibration sound are detected at different physical locations within the environment, thereby providing samples that are spaced throughout the environment. By averaging multiple response curves from different locations within the environment, the one or more processors may determine a response indicative of the environment as a whole.

At block 1316, the one or more processors may receive a target calibration. In some embodiments, the target calibration may be a flat response (i.e., a calibration that treats different frequencies equally). In other embodiments, the target calibration may emphasize certain frequencies and de-emphasize others. For instance, the target calibration may emphasis bass and treble frequencies.

At block 1318, the one or more processors generate an offset curve based on the averaged response and the target calibration. In particular, the one or more processors may determine a offset curve that achieves the target calibration by offsetting the averaged responses of the environment.

At block 1320, the one or more processors determine a calibration profile. Such a calibration profile may include one or more coefficients to apply to the playback device, to cause the calibration device to offset the response of the environment. At block 1322, the calibration profile is transmitted to the playback device, which may adopt the calibration profile.

Some further example techniques for analyzing such recordings are described in U.S. patent application Ser. No. 13/536,493 filed Jun. 28, 2012, entitled “System and Method for Device Playback Calibration,” U.S. patent application Ser. No. 14/216,306 filed Mar. 17, 2014, entitled “Audio Settings Based On Environment,” and U.S. patent application Ser. No. 14/481,511 filed Sep. 9, 2014, entitled “Playback Device Calibration,” which are incorporated herein in their entirety.

IV. Example Techniques to Facilitate Calibration of Multiple Playback Devices

As discussed above, embodiments described herein may facilitate the calibration of multiple playback devices by causing the playback devices to emit a sequence of calibration sounds. FIG. 14 illustrates an example implementation 1400 to cause multiple playback devices to emit calibration sounds in sequence.

a. Detect Trigger Condition That Initiates Calibration Of Multiple Playback Channels

At block 1402, implementation 1400 involves detecting a trigger condition that initiates calibration of multiple playback channels. For instance, a control device, such as control device 126 shown in FIG. 1, may detect a trigger condition that causes control device 126 to initiate calibration of two or more playback channels (e.g., two or more speakers of a single playback device such as one of playback devices 102-124 or possibly two or more of playback devices 102-124). Alternatively, a playback device of a media playback system (e.g., media playback system 100) may detect such a trigger condition (and perhaps relay an indication of that trigger condition to a control device). Calibration of multiple playback devices may involve the multiple playback devices emitting a respective calibration sound according to a sequence. After detecting these emitted calibration sounds, the detected calibration sounds may be analyzed so as to determine how one or more respective acoustic parameters of the playback device's speakers can be adjusted in an attempt to improve acoustic characteristic of those speakers within the calibration environment.

As noted above, a trigger condition may initiate calibration of multiple playback channels. A given playback device may include multiple speakers. In some embodiments, these multiple channels may be calibrated individually as respective channels. Alternatively, the multiple speakers of a playback device may be calibrated together as one channel. In further cases, groups of two or more speakers may be calibrated together as respective channels. For instance, some playback devices, such as sound bars intended for use with surround sound systems, may have groupings of speakers designed to operate as respective channels of a surround sound system. Each grouping of speakers may be calibrated together as one playback channel (or each speaker may be calibrated individually as a separate channel).

In some embodiments, detecting the trigger condition may involve detecting a trigger condition that initiates calibration of a particular zone. As noted above in connection with the example operating environment, playback devices of a media playback system may be joined into a zone in which the playback devices of that zone operate jointly in carrying out playback functions. For instance, two playback devices may be joined into a bonded zone as respective channels of a stereo pair. Alternatively, multiple playback devices may be joined into a zone as respective channels of a surround sound system. Some example trigger conditions may initiate a calibration procedure that involves calibrating the playback devices of a zone. As noted above, within various implementations, a playback device with multiple speakers may be treated as a mono playback channel or each speaker may be treated as its own channel, among other examples.

In further embodiments, detecting the trigger condition may involve detecting a trigger condition that initiates calibration of a particular zone group. Two or more zones, each including one or more respective playback devices, may be joined into a zone group of playback devices that are configured to play back media in synchrony. In some cases, a trigger condition may initiate calibration of a given device that is part of such a zone group, which may initiate calibration of the playback devices of the zone group (including the given device). Alternatively,

Various types of trigger conditions may initiate the calibration of the multiple playback devices. In some embodiments, detecting the trigger condition involves detecting input data indicating a selection of a selectable control. For instance, a control device, such as control device 126, may display an interface (e.g., control interface 600 of FIG. 6), which includes one or more controls that, when selected, initiate calibration of a playback device, or a group of playback devices (e.g., a zone). Alternatively, detecting the trigger condition may involve a playback device detecting that the playback device has become uncalibrated, which might be caused by moving the playback device to a different position or location within the calibration environment. For instance, an example trigger condition might be that a physical movement of one or more of the plurality of playback devices has exceeded a threshold magnitude. In further examples, detecting the trigger condition may involve a device (e.g., a control device or playback device) detecting a change in configuration of the media playback system, such as a new playback device being added to the system. Other examples are possible as well.

b. Send Command that Instructs Playback Device(s) To Emit Calibration Sound

Referring back to FIG. 14, at block 1404, implementation 1400 involves sending a command that instructs the multiple playback devices to emit respective calibration sounds. For instance, a control device, such as control device 126 of media playback system 100, may send respective commands that cause two or more playback devices (e.g., two or more of playback devices 102-124) to emit a calibration sound. The control device may send the commands via a network interface (e.g., a wired or wireless network interface). Upon receiving such a command, each playback device may responsively emit a calibration sound.

The command may instruct the multiple playback devices to emit the calibration sounds according to a sequence. The sequence may govern the order in which the playback devices emit the calibration sound. For example, the commands may instruct a first playback device to emit the calibration sound first in the sequence, a second playback device to emit the calibration sound second in the sequence, a third playback device to emit the calibration sound third in the sequence, and so on for the given number of playback channels to be calibrated during a given calibration procedure.

As described above in connection with some example techniques, a calibration sound may include frequencies that cover the calibration frequency range. As noted above, some example calibration frequency ranges may include frequencies that the speaker(s) of a given playback channel is capable of emitting, or perhaps frequencies over which the calibration procedure is intended to calibrate the channel. Example calibration ranges may be inclusive of the range of 20-20,000 Hz, which is generally considered to be the range of human hearing. Example calibration sound may cover this range using a variety of waveforms. For instance, upward, downward, or oscillating swept-sine or chirp tones may cover such a frequency range by varying frequency over time. Random or pseudorandom noise may cover a calibration frequency range. Some musical compositions (e.g., songs) may cover the calibration frequency range.

In some embodiments, the playback devices may emit a hybrid calibration sound, such as the example hybrid calibration sound discussed above. For instance, each playback device may emit a calibration sound that includes a noise component and a swept signal component. The noise component may cover low frequencies of a calibration range (e.g., a range inclusive of a minimum of the calibration frequency range to a first threshold) while the swept signal component covers higher frequencies (e.g., the higher frequencies of the calibration not covered by the noise component). In some cases, component of a hybrid calibration sound may overlap in a transition frequency range, which may have various benefits, such as a more pleasant sound.

Alternatively, each playback devices may emit two or more sounds during each iteration (or period). Like components of a hybrid calibration sound, each sound may cover different portions of a calibration frequency range (with possibly some overlap). For instance, a first sound may include low frequency noise (e.g., noise at frequencies below a certain threshold). A second sound may include higher frequencies, so as to cover a calibration frequency range in combination with the first sound. The second sound may cover higher frequencies of the frequency range using a variety of waveforms such as a sine-sweep or chirp tone, or possibly a different type of noise, among other examples.

Using different waveforms may affect the minimum duration of each cycle or repetition of the calibration sound. Some calibration procedures require at least a minimum amount of sound energy to be emitted at each frequency of the calibration range to overcome background noise. A uniform signal may cover a calibration frequency range more quickly by proceeding through the frequencies of the range in an orderly manner. For example, a swept signal may efficiently cover a calibration frequency range by varying frequency at a rate that emits sufficient energy at each frequency. In contrast, less uniform signals might cause insufficient energy to be emitted at some frequencies (and perhaps excessive energy at other frequencies). For example, a hip hop song that is heavy on bass and light on treble may repeat certain bass frequencies often which may cause excessive energy to be emitted at those frequencies and not enough energy at treble frequencies, which may result in the song being emitted for a longer duration in order to cover the calibration frequency range with sufficient energy at each frequency.

A shorter duration of each cycle or repetition of the calibration sound may improve the spatial resolution of the calibration procedure. Assuming a moving microphone at substantially constant velocity, a calibration sound that has a shorter period will result in samples that are closer together within the calibration environment (i.e., with higher spatial resolution). As noted above, for a single playback channel, a sound that is approximately ⅜th of a second in length is long enough to cover a calibration frequency range with sufficient energy at each frequency while maintain good spatial resolution. However, when calibrating multiple playback channels, each playback channel should emit a calibration sound that covers the calibration frequency range. Instructing the multiple playback devices to emit the calibration sound successively may increase the total duration of the calibration sounds to a point where spatial resolution is degraded.

To maintain acceptable spatial resolution when calibrating multiple playback channels, the command may instruct the multiple playback devices to concurrently emit the calibration sound. By emitting the calibration sounds concurrently, rather than successively, the time (and distance) between samples may be kept to an acceptable distance (e.g. under a meter). However, concurrently emitted signals may interfere with one another if the same frequencies are emitted at the same time. For instance, if two playback channels emit a 1000 Hz tone concurrently, the respective 1000 Hz tones from each channel might not be able to be independently detected.

To avoid interference, the command may instruct the playback channels to stagger the calibration sounds such that each successive playback channel in the sequence emits the calibration sound after a delay relative to the preceding playback channel in the sequence. By staggering the start times of each calibration sound, a first cycle of calibration sounds may fully (or partially) overlap without causing interference, as, at any given point, each playback channel may output a different portions calibration frequency range. However, because the calibration sounds repeat, successive cycles may interfere with preceding cycles. In an attempt to avoid this possibility, the duration of each period or repetition of the calibration sound may be stretched in proportion to the number of playback channels to be calibrated.

To illustrate, FIG. 15 shows example hybrid calibration sounds as might be emitted during an example calibration procedure of playback channels 1502, 1504, 1506, and 1508. The hybrid calibration sounds in FIG. 15 are based on hybrid calibration sound 1100 of FIG. 11, which can be considered a “baseline” tone that is used in the calibration of a single playback channel. To avoid overlapping frequencies, the example hybrid calibration sounds are stretched and staggered.

More particularly, playback channels 1502, 1504, 1506, and 1508 stagger output of the calibration sound relative to one another. At time t_0, playback channel 1502 begins emitting the calibration sound. After a delay, playback channel 1504 begins emitting the calibration sound. After another delay, playback channel 1506 begins emitting the calibration sound. Likewise, playback channel 1508 begins emitting the calibration sound after a delay relative to playback channel 1506. The amount of delay may vary by implementation. In this example, each playback channel delays output of the calibration by one half of the duration of the baseline tone (i.e., ½ of ⅜ths of a second, or 3/16ths of a second). As shown in FIG. 15, this delay produces a staggering of the calibration sounds over time, which helps to prevent overlapping of frequencies.

The hybrid calibration sounds in FIG. 15 have been stretched such that they have a duration that is four times the duration of the baseline tone (i.e., hybrid calibration sound 1100). This multiple of 4× is equal to the number of playback channels to be calibrated (i.e., channels 1502, 1504, 1506, and 1508). By stretching the baseline tone in proportion to the number of channels, there is sufficient time in each frame for each playback channel to cover the calibration frequency range without overlapping frequencies. As shown in FIG. 15, during each of frames 1510, 1512, 1514, 1418, and 1520, channels 1502, 1504, 1506 and 1508 emit respective calibration sounds that cover the calibration frequency range. As described above, hybrid calibration sound 1100 includes a noise component that covers frequencies of the calibration frequency range up to a threshold and a swept signal component that covers frequencies of the calibration frequency range down to the threshold (perhaps with some overlap between the components).

Frames 1510, 1512, 1514, 1418, and 1520 are separated by respective guardbands (e.g., guardband 1520) in which no portion of a swept signal is emitted by any of the playback devices. This guardband provides time for the emitted calibration sounds to propagate through the environment to the moving microphone before the next iteration of the calibration sounds begin. By providing this propagation time, the guardband helps to prevent overlapping frequencies, which may interfere with calibration.

In FIG. 15, five iterations of the calibration sound emitted by each playback channel are shown by way of example. During example calibration procedures, the calibration sound may be repeatedly emitted multiple times so as to generate samples throughout the environment (given that the microphone that is detecting the calibration sound is moving). For instance, during some example calibration procedures, the calibration sounds depicted in FIG. 15 may repeat for a calibration duration of 30-45 seconds, thereby generating 20-30 samples (given that the calibration sounds have a duration of 1.5 seconds, which is equivalent to a baseline duration of ⅜ second multiplied by four channels). The number of repetitions and the duration of the calibration sound may vary by implementation and number of playback channels, which may cause the calibration duration to vary.

In some embodiments, the calibration sounds emitted by the playback devices may be stored as one or more recordings. For instance, a control device may store a recording (e.g., a sound file) with multiple channels perhaps with each of the multiple channels containing a calibration sound for a different channel (or playback device) to be calibrated. In some example implementations, the calibration sound emitted by each playback channel may be stored as a channel of a multi-channel file (e.g., an Ogg file). Such a recording may pre-stagger the calibration sounds emitted by each playback channel and pre-stretch the calibration sounds to a duration that is proportional to the number of playback channels to be calibrated, such that by initiating playback of the multi-channel in synchrony on the multiple playback channels, the calibration sounds emitted by the playback channels device do not overlap frequencies.

In some cases, the playback devices of the media playback system might not have access to recordings with the same number of channels as the number of playback channels to be calibrated. For instance, the playback devices may only have recordings for 1, 2, 4, or 8 channels (i.e., powers of two). In such embodiments, a particular recording may be selected based on the number of channels to be calibrated. For instance, to calibrate three channels, the number of channels (3) might be rounded up to the four channel recording, as a four channel recording has sufficient channels to calibrate three playback channels. The fourth channel may remain unused during the calibration of the three playback channels. Likewise, to calibrate five playback channels, a control device may instruct the playback channels to emit respective channels of an eight channel recording.

Such an implementation may reduce the number of recording that are maintained by a given media playback system, as a recording might not need to be stored for every possible combination of channels. While recordings with 1, 2, 4, and 8 channels have been described by way of example, the respective number of channels in each stored recording may vary by implementation. For instance, in some cases, three and six channel recordings may be stored, as calibrating three channel (e.g., 2.1 stereo with a subwoofer) zones or six channel (e.g., 5.1 surround) zones might be relatively common calibration procedures.

As an alternative to pre-recorded calibration sounds, the calibration sounds may be mixed or generated as part of the calibration procedure. For instance, a device of the media playback system (e.g., a playback device or a control device) may have access to component tones (e.g., noise and swept signal components, among other examples) and combine those components using a crossover filter function or other signal processing technique using an analog filter or digital signal processor. In some cases, the device may generate the component tones prior to mixing the tones into calibration sound.

In some embodiments, the calibration sound may be generated and/or stored on a first device (e.g., a control device or remote server) and be sent to the playback device for playback by one or more playback channels during the calibration. Such an approach may provide greater flexibility in the calibration sounds available to the media playback system. Additionally, this approach may alleviate the need for the playback device to contain data storage large enough to store the calibration sound. Further, as another possible benefit, storing the calibration sound on another device may facilitate updating the calibration sound with new recordings.

c. Detect Emitted Calibration Sound(s)

In FIG. 14, at block 1406, implementation 1400 involves detecting the emitted calibration sounds. For instance, a control device, such as control device 126 of media playback system 100, may detect, via a microphone, at least a portion of the emitted calibration sounds. Given that the microphone is moving throughout the calibration environment, the control device may detect iterations of the calibration sounds at different physical locations within the environment.

So as to calibrate the individual playback channels, the control device may determine which playback channel emitted each particular instance of the calibration sound that was detected by the control device. After correlating each detected calibration sound to the playback channel that emitted that particular instance of the calibration sound, the recordings of the calibration sounds may be analyzed to determine calibration settings for the playback device. In some embodiments, analysis of the calibration sounds may involve a device, such as a control device or remote server, determining from the identified calibration sounds a respective frequency response of each playback channel. After determining such a response, the device may calibrate each playback device by sending the device a command with calibration parameters that equalize the determined frequency response to a desired frequency response (e.g., a “flat” frequency response).

In some embodiments, a device may identify the detected calibration sounds by the order in which the calibration sounds were detected. As noted above, the command that instructs the multiple playback devices to emit respective calibration sounds may instruct the multiple playback devices to emit the calibration sounds according to a sequence that governs the order in which the calibration sounds are emitted. Given that sequence is known to the control device, the control device may determine which playback channel emitted each particular instance of the calibration sound by the order in which the calibration sounds were detected, as that order may be the same as governed by the sequence.

Within examples, the calibration sound emitted by each playback channel may include a unique “notch.” Such a notch may be a substantial increase or decrease in amplitude at a particular frequency. Each playback channel may emit a calibration sound with a notch at a different frequency, which may act as a watermark. For example, the commands send to the playback devices may instruct a first playback channel to emit a calibration sound with a notch at a first frequency (e.g., 1000 Hz), a second playback channel to emit a calibration sound with a notch at a second frequency (e.g., 5000 Hz), and so on for the given number of playback channels to be calibrated during a given calibration procedure. Upon detecting the calibration sound with the notch at the first frequency, a device may be able to identify that calibration sound as being emitted by the first playback channel. Likewise, a notch at the second frequency in a detect calibration sound may identify that calibration sound as being emitted by the second playback channel. Such a technique may be used in combination with identifying the calibration sounds based on the order in which they were emitted and detected, which may improve identification reliability.

V. Example Techniques to Emit Calibration Sound(s)

As discussed above, embodiments described herein may facilitate the calibration of one or more playback devices. FIG. 16 illustrates an example implementation 1600 that involves a playback device to emitting a hybrid calibration sound, according to an example embodiment.

a. Receive Command that Instructs Playback Device(s) To Emit Calibration Sound(s)

At block 1602, implementation 1600 involves receiving a command that instructs a playback device to emit a calibration sound. For instance, a playback device, such as one of playback devices 102-124, may receive a command that causes the playback device to emit a calibration sound. As noted above, such a command may be sent from a control device (e.g., control device 126 or control device 128 of media playback system 100). The playback device may receive the command via a network interface (e.g., a wired or wireless network interface).

The command may instruct the playback device to emit a calibration sound that includes frequencies that cover a calibration frequency range. As noted above, a control device may analyze the calibration sound over a range of frequencies over which the playback device is to be calibrated (i.e., a calibration range). Accordingly, the command may instruct the playback device to emit a calibration sound that covers the calibration frequency range. The calibration frequency range may include a range of frequencies that the playback device is capable of emitting (e.g., 15-30,000 Hz) and may be inclusive of frequencies that are considered to be in the range of human hearing (e.g., 20-20,000 Hz). By emitting a calibration tone covering such a range of frequencies, a frequency response that is inclusive of that range may be determined for the playback device.

In some embodiments, the playback device may repeatedly emit the calibration sound during the calibration procedure such that the calibration sound covers the calibration frequency range during each repetition. With a moving microphone, repetitions of the calibration sound are detected at different physical locations within the environment, thereby providing samples that are spaced throughout the environment. In some cases, the calibration sound may be periodic calibration signal in which each period covers the calibration frequency range.

As described above, such a command may instruct the playback device to emit a hybrid calibration sound that combines a first component and a second component having respective waveforms. For example, an example hybrid calibration sound might include two components: a first component that includes noises at certain frequencies and a second component that sweeps through other frequencies (e.g., a swept-sine). The noise component may cover lower frequencies of the calibration frequency range (e.g., 10-50 Hz) while the swept signal component covers higher frequencies of that range (e.g., above 50 Hz).

Some implementations of a hybrid calibration sound may include a transition frequency range in which the noise component and the swept component overlap. As indicated above, in some examples, the control device may instruct the playback device to emit a calibration sound that includes a first component (e.g., a noise component) and a second component (e.g., a sweep signal component). The first component may include noise at frequencies between a minimum of the calibration frequency range and a first threshold frequency, and the second component may sweep through frequencies between a second threshold frequency and a maximum of the calibration frequency range.

To overlap these signals, the second threshold frequency may a lower frequency than the first threshold frequency. In such a configuration, the transition frequency range includes frequencies between the second threshold frequency and the first threshold frequency, which might be, for example, 50-100 Hz. By overlapping these components, the playback device may avoid emitting a possibly unpleasant sound associated with a harsh transition between the two types of sounds.

In some embodiments, the calibration sound may be pre-generated. Such a pre-generated calibration sound might be stored on the control device, the playback device, or on a server (e.g., a server that provides a cloud service to the media playback system). In some cases, the playback device may receive the pre-generated calibration sound from a control device via a network interface. Alternatively, a playback device may receive an indication of a source of the calibration sound (e.g., a URI), which the playback device may use to obtain the calibration sound.

Alternatively, the playback device may generate the calibration sound. For instance, for a given calibration range, the playback device may generate noise that covers at least frequencies between a minimum of the calibration frequency range and a first threshold frequency and a swept sine that covers at least frequencies between a second threshold frequency and a maximum of the calibration frequency range. The playback device may combine the swept sine and the noise into the periodic calibration sound by applying a crossover filter function. The cross-over filter function may combine a portion of the generated noise that includes frequencies below the first threshold frequency and a portion of the generated swept sine that includes frequencies above the second threshold frequency to obtain the desired calibration sound. The playback device may have an analog circuit and/or digital signal processor to generate and/or combine the components of the hybrid calibration sound.

Within examples, the command may instruct the playback device to emit the calibration sounds according to a sequence with one or more additional playback device. The sequence may govern the order in which the playback devices emit the calibration sound. For example, the commands may instruct a first playback device to emit the calibration sound first in the sequence, a second playback device to emit the calibration sound second in the sequence, a third playback device to emit the calibration sound third in the sequence, and so on for the given number of playback channels to be calibrated during a given calibration procedure.

As noted above, a playback device may include multiple speakers. These multiple channels may be calibrated individually as respective channels. Alternatively, the multiple speakers of a playback device may be calibrated as one channel. In further cases, groups of two or more speakers may be calibrated together as respective channels.

As described above in connection with FIGS. 13 and 14, the command may instruct the playback device to stagger the calibration sounds such that each successive playback channel in the sequence emits the calibration sound after a delay relative to the preceding playback channel in the sequence. By staggering the start times of each calibration sound, a first cycle of calibration sounds may fully (or partially) overlap without causing interference, as, at any given point, each playback channel may output a different portions calibration frequency range. However, because the calibration sounds repeat, successive cycles may interfere with preceding cycles. In an attempt to avoid this possibility, the duration of each period or repetition of the calibration sound may be stretched in proportion to the number of playback channels to be calibrated.

b. Emit Calibration Sound(s)

Referring still to FIG. 16, at block 1604, implementation 1600 involves emitting a calibration sound. For example, the playback device (e.g., one of playback devices 102-124), may emit the calibration sound according to the received command that causes the playback device to emit the calibration sound. As described above, such a command may instruct the playback device to emit a particular calibration sound having certain characteristics, perhaps according to a particular sequence.

VI. Conclusion

The description above discloses, among other things, various example systems, methods, apparatus, and articles of manufacture including, among other components, firmware and/or software executed on hardware. It is understood that such examples are merely illustrative and should not be considered as limiting. For example, it is contemplated that any or all of the firmware, hardware, and/or software aspects or components can be embodied exclusively in hardware, exclusively in software, exclusively in firmware, or in any combination of hardware, software, and/or firmware. Accordingly, the examples provided are not the only way(s) to implement such systems, methods, apparatus, and/or articles of manufacture.

Example techniques may involve emitting a hybrid calibration sound. In one aspect, a method is provided. The method may involve receiving, via a network interface, a command that instructs the playback device to emit a calibration sound and responsively causing the one or more speakers to emit a periodic calibration sound that covers a calibration frequency range, where the periodic calibration sound comprises (i) a first component that includes noise at frequencies between a minimum of the calibration frequency range and a first threshold frequency, and (ii) a second component that sweeps through frequencies between a second threshold frequency and a maximum of the calibration frequency range.

In another aspect, a device is provided. The device includes a network interface, at least one processor, a data storage, and program logic stored in the data storage and executable by the at least one processor to perform operations. The operations may include receiving, via the network interface, a command that instructs the playback device to emit a calibration sound and responsively causing the one or more speakers to emit a periodic calibration sound that covers a calibration frequency range, where the periodic calibration sound comprises (i) a first component that includes noise at frequencies between a minimum of the calibration frequency range and a first threshold frequency, and (ii) a second component that sweeps through frequencies between a second threshold frequency and a maximum of the calibration frequency range.

In yet another aspect, a non-transitory computer readable memory is provided. The non-transitory computer readable memory has stored thereon instructions executable by a computing device to cause the computing device to perform operations. The operations may include receiving, via the network interface, a command that instructs the playback device to emit a calibration sound and responsively causing the one or more speakers to emit a periodic calibration sound that covers a calibration frequency range, where the periodic calibration sound comprises (i) a first component that includes noise at frequencies between a minimum of the calibration frequency range and a first threshold frequency, and (ii) a second component that sweeps through frequencies between a second threshold frequency and a maximum of the calibration frequency range.

Further example techniques may involve multiple playback devices emitting a calibration sound. In one aspect, a method is provided. The method may involve detecting a trigger condition that initiates calibration of a plurality of playback devices. The method may also involve sending, to a first playback device of the plurality, a command that instructs the first playback device to repeatedly emit a calibration sound according to a sequence, where the calibration sound cycles through frequencies of a calibration frequency range, and where a duration of the calibration sound is proportional to the given number of playback devices in the plurality. The method may further involve sending, to one or more additional playback devices of the plurality, respective commands that instruct the one or more additional playback devices to repeatedly emit the respective calibration sound according to the sequence, where the commands instruct the one or more additional playback devices to stagger emission of the calibration sounds such that each emitted calibration sound is delayed relative to a preceding calibration sound in the sequence. The method may also involve detecting, via a microphone, the emitted calibration sounds.

In another aspect, a device is provided. The device includes a network interface, at least one processor, a data storage, and program logic stored in the data storage and executable by the at least one processor to perform operations. The operations may include detecting a trigger condition that initiates calibration of a plurality of playback devices. The operations may also include sending, to a first playback device of the plurality, a command that instructs the first playback device to repeatedly emit a calibration sound according to a sequence, where the calibration sound cycles through frequencies of a calibration frequency range, and where a duration of the calibration sound is proportional to the given number of playback devices in the plurality. The operations may further include sending, to one or more additional playback devices of the plurality, respective commands that instruct the one or more additional playback devices to repeatedly emit the respective calibration sound according to the sequence, where the commands instruct the one or more additional playback devices to stagger emission of the calibration sounds such that each emitted calibration sound is delayed relative to a preceding calibration sound in the sequence. The operations may also include detecting, via a microphone, the emitted calibration sounds.

In yet another aspect, a non-transitory computer readable memory is provided. The non-transitory computer readable memory has stored thereon instructions executable by a computing device to cause the computing device to perform operations. The operations may include detecting a trigger condition that initiates calibration of a plurality of playback devices. The operations may also include sending, to a first playback device of the plurality, a command that instructs the first playback device to repeatedly emit a calibration sound according to a sequence, where the calibration sound cycles through frequencies of a calibration frequency range, and where a duration of the calibration sound is proportional to the given number of playback devices in the plurality. The operations may further include sending, to one or more additional playback devices of the plurality, respective commands that instruct the one or more additional playback devices to repeatedly emit the respective calibration sound according to the sequence, where the commands instruct the one or more additional playback devices to stagger emission of the calibration sounds such that each emitted calibration sound is delayed relative to a preceding calibration sound in the sequence. The operations may also include detecting, via a microphone, the emitted calibration sounds.

The specification is presented largely in terms of illustrative environments, systems, procedures, steps, logic blocks, processing, and other symbolic representations that directly or indirectly resemble the operations of data processing devices coupled to networks. These process descriptions and representations are typically used by those skilled in the art to most effectively convey the substance of their work to others skilled in the art. Numerous specific details are set forth to provide a thorough understanding of the present disclosure. However, it is understood to those skilled in the art that certain embodiments of the present disclosure can be practiced without certain, specific details. In other instances, well known methods, procedures, components, and circuitry have not been described in detail to avoid unnecessarily obscuring aspects of the embodiments. Accordingly, the scope of the present disclosure is defined by the appended claims rather than the forgoing description of embodiments.

When any of the appended claims are read to cover a purely software and/or firmware implementation, at least one of the elements in at least one example is hereby expressly defined to include a tangible, non-transitory medium such as a memory, DVD, CD, Blu-ray, and so on, storing the software and/or firmware. 

We Claim:
 1. A first playback device comprising: one or more processors; a computer-readable medium having stored thereon instructions that, when executed by the one or more processors, cause the first playback device to perform a method comprising: forming a first synchronous playback group with one or more second playback devices; while formed into the first synchronous playback group, repeatedly playing back a first calibration sound according to a first sequence contemporaneously with playback of the first calibration sound by the one or more second playback devices, wherein the first sequence comprises the first calibration sound cycling through frequencies of a calibration frequency range, and wherein playback devices of the first synchronous playback group stagger playback of the first calibration sound; forming a second synchronous playback group with one or more third playback devices, wherein at least one of the third playback devices is different from at least one of the second playback devices; while formed into the second synchronous playback group, repeatedly playing back a second calibration sound according to a second sequence contemporaneously with playback of the second calibration sound by the one or more third playback devices, wherein the second sequence comprises the second calibration sound cycling through frequencies of the calibration frequency range, and wherein playback devices of the second synchronous playback group stagger playback of the second calibration sound; receiving data representing audio processing coefficients, the audio processing coefficients comprising (i) first audio processing coefficients that are based on playback of the first calibration sound while formed into the first synchronous playback group and (ii) second audio processing coefficients that are based on playback of the second calibration sound while formed into the first synchronous playback group; applying the first audio processing coefficients to playback of audio content when formed into the first synchronous playback group; and applying the second audio processing coefficients to playback of audio content when formed into the second synchronous playback group.
 2. The first playback device of claim 1, wherein the playback devices of the first synchronous playback group play back the first calibration sound according to the first sequence for a first duration of time that is proportional to a number of the playback devices of the first synchronous playback group, and wherein the playback devices of the second synchronous playback group play back the second calibration sound according to the first sequence for a second duration of time that is proportional to a number of the playback devices of the second synchronous playback group.
 3. The first playback device of claim 1, wherein the first calibration sound and the second calibration sound comprise (i) a first component that includes noise frequencies between a minimum of the calibration frequency range and a first threshold frequency, and (ii) a second component that sweeps through frequencies between a second threshold frequency and a maximum of the calibration frequency range.
 4. The first playback device of claim 1, wherein the first calibration sound and the second calibration sound comprise a baseline tone that covers frequencies of the calibration frequency range within a given duration, and wherein the method further comprises: selecting the first calibration sound from among multiple calibration sounds, the selected first calibration sound being substantially proportional in duration to a product of the given duration of the baseline tone and a number of playback devices in the first synchronous playback group; and selecting the second calibration sound from among the multiple calibration sounds, the selected second calibration sound being substantially proportional in duration to a product of the given duration of the baseline tone and a number of playback devices in the second synchronous playback group.
 5. The first playback device of claim 1, wherein the first calibration sound and the second calibration sound comprise a baseline tone that covers frequencies of the calibration frequency range within a given duration, wherein the playback devices of the first synchronous playback group stagger playback of the first calibration sound by a delay that is based on the given duration of the baseline tone, and wherein the playback devices of the second synchronous playback group stagger playback of the second calibration sound by the delay that is based on the given duration of the baseline tone.
 6. The first playback device of claim 1, wherein the method further comprises: receiving, via a network interface from a mobile device, data representing one or more first commands to repeatedly play back the first calibration sound according to the first sequence contemporaneously with playback of the first calibration sound by the one or more second playback devices, wherein the playback devices of the first synchrony group repeatedly play back the first calibration sound according to the second sequence in response to the data representing the one or more first commands; and receiving, via the network interface from the mobile device, data representing one or more second commands to repeatedly play back the second calibration sound according to the second sequence contemporaneously with playback of the second calibration sound by the one or more third playback devices, wherein the playback devices of the second synchrony group repeatedly play back the second calibration sound according to the second sequence in response to the data representing the one or more second commands.
 7. The first playback device of claim 6, wherein receiving data representing audio processing coefficients comprising receiving, via the network interface from the mobile device, the data representing the audio processing coefficients.
 8. A tangible, non-transitory computer-readable medium having stored thereon instructions that, when executed by one or more processors, cause a first playback device to perform a method comprising: forming a first synchronous playback group with one or more second playback devices; while formed into the first synchronous playback group, repeatedly playing back a first calibration sound according to a first sequence contemporaneously with playback of the first calibration sound by the one or more second playback devices, wherein the first sequence comprises the first calibration sound cycling through frequencies of a calibration frequency range, and wherein playback devices of the first synchronous playback group stagger playback of the first calibration sound; forming a second synchronous playback group with one or more third playback devices, wherein at least one of the third playback devices is different from at least one of the second playback devices; while formed into the second synchronous playback group, repeatedly playing back a second calibration sound according to a second sequence contemporaneously with playback of the second calibration sound by the one or more third playback devices, wherein the second sequence comprises the second calibration sound cycling through frequencies of the calibration frequency range, and wherein playback devices of the second synchronous playback group stagger playback of the second calibration sound; receiving data representing audio processing coefficients, the audio processing coefficients comprising (i) first audio processing coefficients that are based on playback of the first calibration sound while formed into the first synchronous playback group and (ii) second audio processing coefficients that are based on playback of the second calibration sound while formed into the first synchronous playback group; applying the first audio processing coefficients to playback of audio content when formed into the first synchronous playback group; and applying the second audio processing coefficients to playback of audio content when formed into the second synchronous playback group.
 9. The tangible, non-transitory computer-readable medium of claim 8, wherein the playback devices of the first synchronous playback group play back the first calibration sound according to the first sequence for a first duration of time that is proportional to a number of the playback devices of the first synchronous playback group, and wherein the playback devices of the second synchronous playback group play back the second calibration sound according to the first sequence for a second duration of time that is proportional to a number of the playback devices of the second synchronous playback group.
 10. The tangible, non-transitory computer-readable medium of claim 8, wherein the first calibration sound and the second calibration sound comprise (i) a first component that includes noise frequencies between a minimum of the calibration frequency range and a first threshold frequency, and (ii) a second component that sweeps through frequencies between a second threshold frequency and a maximum of the calibration frequency range.
 11. The tangible, non-transitory computer-readable medium of claim 8, wherein the first calibration sound and the second calibration sound comprise a baseline tone that covers frequencies of the calibration frequency range within a given duration, and wherein the method further comprises: selecting the first calibration sound from among multiple calibration sounds, the selected first calibration sound being substantially proportional in duration to a product of the given duration of the baseline tone and a number of playback devices in the first synchronous playback group; and selecting the second calibration sound from among the multiple calibration sounds, the selected second calibration sound being substantially proportional in duration to a product of the given duration of the baseline tone and a number of playback devices in the second synchronous playback group.
 12. The tangible, non-transitory computer-readable medium of claim 8, wherein the first calibration sound and the second calibration sound comprise a baseline tone that covers frequencies of the calibration frequency range within a given duration, wherein the playback devices of the first synchronous playback group stagger playback of the first calibration sound by a delay that is based on the given duration of the baseline tone, and wherein the playback devices of the second synchronous playback group stagger playback of the second calibration sound by the delay that is based on the given duration of the baseline tone.
 13. The tangible, non-transitory computer-readable medium of claim 8, wherein the method further comprises: receiving, via a network interface from a mobile device, data representing one or more first commands to repeatedly play back the first calibration sound according to the first sequence contemporaneously with playback of the first calibration sound by the one or more second playback devices, wherein the playback devices of the first synchrony group repeatedly play back the first calibration sound according to the second sequence in response to the data representing the one or more first commands; and receiving, via the network interface from the mobile device, data representing one or more second commands to repeatedly play back the second calibration sound according to the second sequence contemporaneously with playback of the second calibration sound by the one or more third playback devices, wherein the playback devices of the second synchrony group repeatedly play back the second calibration sound according to the second sequence in response to the data representing the one or more second commands.
 14. The tangible, non-transitory computer-readable medium of claim 13, wherein receiving data representing audio processing coefficients comprising receiving, via the network interface from the mobile device, the data representing the audio processing coefficients.
 15. A method to be performed by a first playback device, the method comprising: forming a first synchronous playback group with one or more second playback devices; while formed into the first synchronous playback group, repeatedly playing back a first calibration sound according to a first sequence contemporaneously with playback of the first calibration sound by the one or more second playback devices, wherein the first sequence comprises the first calibration sound cycling through frequencies of a calibration frequency range, and wherein playback devices of the first synchronous playback group stagger playback of the first calibration sound; forming a second synchronous playback group with one or more third playback devices, wherein at least one of the third playback devices is different from at least one of the second playback devices; while formed into the second synchronous playback group, repeatedly playing back a second calibration sound according to a second sequence contemporaneously with playback of the second calibration sound by the one or more third playback devices, wherein the second sequence comprises the second calibration sound cycling through frequencies of the calibration frequency range, and wherein playback devices of the second synchronous playback group stagger playback of the second calibration sound; receiving data representing audio processing coefficients, the audio processing coefficients comprising (i) first audio processing coefficients that are based on playback of the first calibration sound while formed into the first synchronous playback group and (ii) second audio processing coefficients that are based on playback of the second calibration sound while formed into the first synchronous playback group; applying the first audio processing coefficients to playback of audio content when formed into the first synchronous playback group; and applying the second audio processing coefficients to playback of audio content when formed into the second synchronous playback group.
 16. The method of claim 15, wherein the playback devices of the first synchronous playback group play back the first calibration sound according to the first sequence for a first duration of time that is proportional to a number of the playback devices of the first synchronous playback group, and wherein the playback devices of the second synchronous playback group play back the second calibration sound according to the first sequence for a second duration of time that is proportional to a number of the playback devices of the second synchronous playback group.
 17. The method of claim 15, wherein the first calibration sound and the second calibration sound comprise (i) a first component that includes noise frequencies between a minimum of the calibration frequency range and a first threshold frequency, and (ii) a second component that sweeps through frequencies between a second threshold frequency and a maximum of the calibration frequency range.
 18. The method of claim 15, wherein the first calibration sound and the second calibration sound comprise a baseline tone that covers frequencies of the calibration frequency range within a given duration, and wherein the method further comprises: selecting the first calibration sound from among multiple calibration sounds, the selected first calibration sound being substantially proportional in duration to a product of the given duration of the baseline tone and a number of playback devices in the first synchronous playback group; and selecting the second calibration sound from among the multiple calibration sounds, the selected second calibration sound being substantially proportional in duration to a product of the given duration of the baseline tone and a number of playback devices in the second synchronous playback group.
 19. The method of claim 15, wherein the first calibration sound and the second calibration sound comprise a baseline tone that covers frequencies of the calibration frequency range within a given duration, wherein the playback devices of the first synchronous playback group stagger playback of the first calibration sound by a delay that is based on the given duration of the baseline tone, and wherein the playback devices of the second synchronous playback group stagger playback of the second calibration sound by the delay that is based on the given duration of the baseline tone.
 20. The method of claim 15, wherein the method further comprises: receiving, via a network interface from a mobile device, data representing one or more first commands to repeatedly play back the first calibration sound according to the first sequence contemporaneously with playback of the first calibration sound by the one or more second playback devices, wherein the playback devices of the first synchrony group repeatedly play back the first calibration sound according to the second sequence in response to the data representing the one or more first commands; and receiving, via the network interface from the mobile device, data representing one or more second commands to repeatedly play back the second calibration sound according to the second sequence contemporaneously with playback of the second calibration sound by the one or more third playback devices, wherein the playback devices of the second synchrony group repeatedly play back the second calibration sound according to the second sequence in response to the data representing the one or more second commands. 